/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.WebIDE.ejb.sessions;

import java.util.List;
import javax.ejb.Remote;
import org.WebIDE.ejb.entities.GroupsResources;
import org.WebIDE.ejb.entities.GroupsResourcesPK;
import org.WebIDE.ejb.sessions.exceptions.*;

/**
 *
 * @author huy
 */
@Remote
public interface GroupsResourcesFacadeRemote {

    public void edit(GroupsResources groupsResources) throws NonexistentEntityException, RollbackFailureException, Exception;

    public void create(GroupsResources groupsResources) throws PreexistingEntityException, RollbackFailureException, Exception;

    void remove(GroupsResources groupsResources);

    GroupsResources find(Object id);

    List<GroupsResources> findAll();

    public void destroy(GroupsResourcesPK id) throws NonexistentEntityException, RollbackFailureException, Exception;

    public GroupsResources findGroupsResources(GroupsResourcesPK id);

    public int getGroupsResourcesCount();

    public List<GroupsResources> findGroupsResourcesEntities();

    public List<GroupsResources> findGroupsResourcesEntities(int maxResults, int firstResult);
}
